import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner num = new Scanner(System.in);
        while(num.hasNextInt()){
            int x = num.nextInt();
            int y = num.nextInt();
            Point p1 = new Point(x,y);
            System.out.println(p1.getX()+" "+p1.getY());
            Point p2 = new Point(x);
            System.out.println(p2.getX()+" "+p2.getY());
            Point p3 = new Point();
            System.out.println(p3.getX()+" "+p3.getY());
        }
    }
}
